﻿#region Using directives

using System;
using System.Xml;
using System.Runtime.Serialization;
using MCMLXVII.BackEnd.Data.SystemDatabase;
#endregion

namespace MCMLXVII.SubSystems.Security.DirectoryServices
{

    public interface IDirectoryService
    {
        bool LogonUser(string FQDN, string NetbiosName, string DirConfigInfo, string UserName, string Password);
        string GetRoot(string FQDN, string NetbiosName);
        XmlDocument GetDirectoryUsersList(string Path, XmlDocument DirConfigInfo, string NameFilter);
        XmlDocument GetDirectoryGroupsList(string Path, XmlDocument DirConfigInfo, string NameFilter);
    }
    public interface IDirectoryTreeBrowser
    {
        XmlDocument GetDirectoryTree(string FQDN, string NetbiosName, XmlDocument DirConfigInfo, int MaxDeepLevel);
        XmlDocument GetNodeChildren(string FQDN, string NetbiosName, XmlDocument DirConfigInfo, string NodePath, int MaxDeepLevel);
    }

}